<%@page import="com.loyal.loyalerp.basedata.company.model.GyCompany"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../../header.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>公司详情</title>
</head>
<style>
  

</style>
<body style="align: center;">
  <% 
    GyCompany company=(GyCompany)request.getAttribute("company"); 
    GyCompany parentcompany=(GyCompany)request.getAttribute("parentcompany"); 
  %>
	<div style="margin-top: 10px; margin-left: 30px;">
		
			<div style="margin-left: 50px;">
				<table style="border-collapse:separate; border-spacing:0px 15px;font-size:25px">
				<tr>
				<td style="width:240px">
				<label for="jobcode">公司编号:</label>
                <label style="width: 120px; height: 28px;"><%=company.getCompanycode()%></label>
				</td>
				<td style="width:240px">
			    <label for="jobcode">公司名称:</label> 
			    <label style="width: 120px; height: 28px;"><%=company.getCompanyname()%></label>
			    </td>
			    </tr>
			    
			     <tr>
                <td>
			    <label for="jobcode">英文名称:</label>
			    <label style="width: 120px; height: 28px;"><%=company.getCompanyengname()%></label>
			    </td>
			    <td>
			    <label for="jobcode">父级公司:</label>
			    <label style="width: 120px; height: 28px"><%=parentcompany.getCompanyname()%></label>
			    </td>
			    </tr>
			    
			    <tr>
			    <td>
			    <label for="jobcode">公司级别:</label> 
			    <label style="width: 120px; height: 28px;"><%=company.getCodelevel()%>级公司</label>
			    </td>
			    <td>
			    <label for="jobcode">末级标志:</label>
			    <label style="width: 120px; height: 28px;"><% if(company.getEndflag()==1)%>末级公司<%else%>非末级公司</label>
			    </td>
			    </tr>
			    
			    <tr>
			    <td>
			    <label for="jobcode">负&nbsp;&nbsp;责&nbsp;&nbsp;人:</label>
			    <label style="width: 120px; height: 28px;"><%=company.getPrincipal()%></label>
			    </td>
			    <td>
			    <label for="jobcode">联系电话:</label> 
			    <label style="width: 120px; height: 28px;"><%=company.getTelephone()%></label>
				</td>
				</tr>
				
				<tr>
				<td>
				<label for="jobcode">传&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;真&nbsp;&nbsp;:</label>
				<label style="width: 120px; height: 28px;" id="fax" name="fax"><%=company.getFax()%></label>
				</td>
				<td>
				<label for="jobcode">公司地址:</label> 
				<label style="width: 120px; height: 28px;" id="address" name="address"><%=company.getAddress()%></label>
				</td>
				</tr>
				
				<tr>
				<td>
				<label for="jobcode">公司官网:</label>
				<label style="width: 120px; height: 28px;" id="website" name="website"><%=company.getWebsite()%></label>
				</td>
				<td>
				<label for="jobcode">&nbsp;状&nbsp;&nbsp;&nbsp;&nbsp;态&nbsp;&nbsp;:</label>
				<label style="width: 120px" name="active" id="active"><% if(company.getActive()==0)%>不可用 <%if(company.getActive()!=0)%>可用</label>
			    </td>
			    </tr>
			 </table>
			</div>
	
	</div>

</body>
</html>